How To find the model of a USB harddrive in a USB enclosure in Linux

NOTE: This is not working totally with USB3 interfaced drives. Likely a update to the tools will fix this.

The following command:

smartctl -i /dev/sdb

Where hdparm /sdparm (and lsusb -v) show you info about the USB device this gives you the info about the device IN the USB enclosure.
Here is output:
=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda XT
Device Model:     ST33000651AS
Serial Number:    9XK0AKRX
LU WWN Device Id: 5 000c50 02d957ba3
Firmware Version: CC43
User Capacity:    3,000,592,982,016 bytes [3.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 4
Local Time is:    Fri Apr 12 08:17:27 2013 EDT
SMART support is: Available – device has SMART capability.
SMART support is: Enabled

Leave a Reply